package com.lzhsite.technology.designPattern.command.ComputerDemo;

public class OpenCommand implements Command
{
    private IMainBoard mainBoard = null;

    public OpenCommand(IMainBoard mainBoard)
    {
        this.mainBoard = mainBoard;
    }

    public void execute()
    {
        this.mainBoard.open();
    }
}
